import cv2
from sys import flags
img1=cv2.imread('C:\wd2.jpg')
print('type(img1):',type(img1))
print('img1:',img1)
img2=cv2.imread('C:\puppy.txt')
print('type(img2):',type(img2))
print('img2:',img2)
img3=cv2.imread('C:\puppy.jpg')
print('type(img3):',type(img3))
print('img3:',img3)
cv2.imshow("puppy",img3)
cv2.waitKey(0)